<!DOCTYPE html>
<html>
    <head>
	<meta charset="utf-8">
	<meta name="viewport" content="width=device-width, initial-scale=1.0">
	<!--360浏览器优先以webkit内核解析-->
	<title>主页</title>
	<link rel="shortcut icon" href="../favicon.ico">
	<link href="__PUBLIC__/css/bootstrap.min.css?v=3.3.6" rel="stylesheet">
	<link rel="stylesheet" href="__PUBLIC__/css/ace.min.css" />
	<link href="__PUBLIC__/css/font-awesome.css?v=4.4.0" rel="stylesheet">
	<link href="__PUBLIC__/css/plugins/iCheck/custom.css" rel="stylesheet">
	<link href="__PUBLIC__/css/animate.css" rel="stylesheet">
	<link href="__PUBLIC__/css/style.css?v=4.1.0" rel="stylesheet">
	<!--	<link href="__PUBLIC__/css/paging.css" rel="stylesheet">-->
	<link href="__PUBLIC__/Widget/webuploader/0.1.5/webuploader.css" rel="stylesheet" type="text/css" />
	<style>
	    .col-xs-6-1{
		position:relative;min-height:1px;padding-right:15px;padding-left:15px;
		float:left;width:25%
	    }
	    .list-group-item{ border-top: 0 !important; border-bottom: 1px solid #e7eaec !important; }
	    .list-group-item:last-child{ border-bottom: 0px solid #e7eaec !important; }
	    /*.row{ margin-left: -10px; margin-right: -10px; }*/
	    .ibox{ min-height: 408px; }
	    .ibox table{ display: none; min-height: 281px; }
	    .text-right { text-align: right !important; }
	</style>
	<script src="__PUBLIC__/js/plugins/layer/laydate/laydate.js"></script>
    </head>
    <body class="gray-bg">
	<div class="wrapper wrapper-content">
	    <div class="row">
		<div class="col-sm-12">
		    <div class="ibox float-e-margins">
			<div class="ibox-title">
			    <h5>主页
				<small></small>
			    </h5>
			    <div class="ibox-tools">
				<a href="<{$localhost_sub_url}>" target="_blank" class="btn btn-primary" style="margin-bottom: 0; margin-top:-8px;">项目登录</a>
			    </div>
			</div>
			<div class="ibox-content">
			    <div class="dataTables_filter">
				<form action="__SELF__" id="form1">
				    <!--				    <label>
									    <select name="ddlstate" id="ddlstate" onchange="form_submit()">
										<option value="0">-状态-</option>
										<volist name="statearr" id="statearr">
										    <option value="<{$statearr.value}>" <if condition="$search.statesel eq $statearr['value']">selected</if>><{$statearr.text}></option>
										</volist>
									    </select>
									</label>-->
				    <label>
					<input type="text" id="txtbegintime" name="txtbegintime" placeholder="请输入开始时间"
					       readonly="readonly" onclick="laydate({istime: true, format: 'YYYY-MM-DD hh:mm'})"
					       value="<{$search.begintime}>"/>
				    </label>
				    <label>
					<input type="text" id="txtendtime" name="txtendtime" placeholder="请输入结束时间"
					       readonly="readonly" onclick="laydate({istime: true, format: 'YYYY-MM-DD hh:mm'})"
					       value="<{$search.endtime}>"/>
				    </label>
				    <label>
					<input type="text" id="txtkeyword" name="txtkeyword" value="<{$search.keyword}>" placeholder="请输入关键词"/>&nbsp;
					<input type="submit" id="btnsearch" name="btnsearch" value="搜索"/>
				    </label>
				</form>
			    </div>
			    <div class="row">
				<div class="col-sm-12">
				    <volist name="data" id="vo">
					<div class="file-box">
					    <div class="file">
						<a href="home/app_code/<{$vo.app_flag}>" rel="<{$vo.app_flag}>" title="<{$vo.app_name}>">
						    <span class="corner"></span>
						    <div class="image">
							<img alt="未找到图片" class="img-responsive" src="<{$vo.app_logo}>">
						    </div>
						    <div class="file-name">
							<{$vo.app_name}>
							<br/>
							<small>创建时间：<{$vo.ctime}></small>
						    </div>
						</a>
					    </div>
					</div>
				    </volist>
				</div>
			    </div>
			    <div class="dataTables_paginate paging_simple_numbers">
				<ul class="pagination">
				    <if condition="$total gt 0">
					<{$fpage}>
				    </if>
				</ul>
			    </div>
			</div>
		    </div>
		</div>
	    </div>
	</div>

	<!-- 全局js -->

	<script src="__PUBLIC__/js/jquery.min.js?v=2.1.4"></script>
	<script src="__PUBLIC__/js/vue.js"></script>
	<!--	<script src="__PUBLIC__/js/paging.js"></script>-->
	<script src="__PUBLIC__/js/bootstrap.min.js?v=3.3.6"></script>
	<!-- 自定义js -->
	<script src="__PUBLIC__/js/content.js?v=1.0.0"></script>
	<script>
						   $(document).ready(function () {
						       $('.file-box').each(function () {
							   animationHover(this, 'pulse');
						       });
						   });
	</script>
	<script src="__PUBLIC__/js/plugins/layer/layer.min.js"></script>
	<script src="__PUBLIC__/js/ajaxfileupload.js"></script>
	<script type="text/javascript" src="__PUBLIC__/Widget/webuploader/0.1.5/webuploader.min.js"></script>
	<!--	<script src="__PUBLIC__/js/jquery.dataTables.min.js"></script>
		<script src="__PUBLIC__/js/jquery.dataTables.bootstrap.js"></script>-->

	<!--建议手动加在语言，避免在ie下有时因为加载语言失败导致编辑器加载失败-->
	<!--这里加载的语言文件会覆盖你在配置项目里添加的语言类型，比如你在配置项目里配置的是英文，这里加载的中文，那最后就是中文-->
	<script>
						   var appenterurl = "<{:U('appenter','','')}>";
						   function appenter(obj) {
						       var $obj = $(obj);
						       var app_code = $obj.attr("rel");
						       $.post(appenterurl, {'app_code': app_code},
							       function (data) {
								   if (data.ret == '1001') {
//									layer.msg(data.code, {icon: 6, time: 1000});
								       setTimeout(function () {
									   window.open("http://modemadm.86tudi.com");
								       }, 1000);
								   } else {
								       layer.msg(data.code, {icon: 5, time: 1000});
								   }
							       }, 'json');
						   }
						   function form_submit() {
						       document.getElementById("form1").submit();
						   }
	</script>
    </body>
</html>
